package com.xunhuan;

public class While04 {
    public static void main(String[] args) {
        //do---while 至少执行一次
        //while 一次也不执行
        int i = 0;
        while (i<0){
            i++;
            System.out.println(i);
        }
        System.out.println("====================================");
        do {
            System.out.println(i);
            i++;
        }while (i<0);
    }
}
